package com.yzy.fly.entity.role;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("fly_table_column")
public class FlyTableColumn implements Serializable{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer seq;
    private String name;
    private String javaName;
    private String type;
    private Integer length;
    private Integer numericScale;
    private Integer notNull; //0不是 1是
    private Integer primaryKey; //0不是 1是
    private Integer autoIncrement;
    private String defaultValue;
    private String comment;
    private String descr;
    private Integer tableId;
    private Integer modelId;
    private Integer defModelId;
    private Integer systemId;
    private Date createTime;
    private Date updateTime;
}
